home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
011
/
treedupl.arc
/
TREEDUPL.RNO
< prev
next >
Wrap
Text File
|
1986-09-05
|
32KB
|
894 lines
.PS 58,70
.FL BOLD *
.FL PERIOD +
.NHD
#
.B 9
.C;^*TREEDUPL\*
.C;Directory Tree Duplicator Utility
.C;Reference Manual
.B 9
.C;June 1986
.B
This document describes the TREEDUPL Directory Tree Duplicator
Utility.
This utility is unlicensed and unsupported.
.B 6
.TS 35
.LM +35
.P -35,1,0
Revision/Update Information: This is a new manual.
.P -35,1,0
Operating System and Version: MS-DOS_* version 2.11 or later.
.P -35,1,0
Software Version: TREEDUPL version 2.0.
.P -35,1,0
Support: THIS SOFTWARE IS ^*NOT\* SUPPORTED BY DIGITAL
EQUIPMENT CORPORATION.
.P -35,1,0
Direct questions and comments to: Brian Hetrick
.BR
ZKO1-3/J10
.BR
Digital Equipment Corporation
.BR
110 Spit Brook Road
.BR
Nashua NH 03062-2698
.BR
USA
.LM -35
.B 7
_* MS is a trademark of Microsoft Corporation.
.B
.LT
Digital Equipment Corporation Maynard Massachusetts
.EL
.PG
.R;June 1986
.B 4
The information in this document is subject to change without notice
and should not be construed as a commitment by Digital Equipment
Corporation.
Digital Equipment Corporation assumes no responsibility for any errors
that may appear in this document.
.B
The software described in this document is unlicensed and unsupported.
^*Digital Equipment Corporation assumes no responsibility for the use
or reliability of this software.\*
This software is provided "as is," without any warranty of any kind,
express or implied.
Digital Equipment Corporation will not be liable in any event for any
damages including any loss of data, profit, or savings, claims against
the user by any other party, or any other incidental or consequential
damages arising out of the use of, or inability to use, this software,
even if Digital Equipment Corporation is advised of the possibility of
such damage.
.B 5
This documentation and the software it describes have been placed into
the public domain by Digital Equipment Corporation.
.B 5
The following are trademarks of Digital Equipment Corporation:
.B
.LT
DEC MASSBUS RSX VAX
DECmate PDP RT VAXcluster
DECnet P/OS ULTRIX VMS
DECUS Professional ULTRIX-32 VT
DECwriter Rainbow ULTRIX-32M Work Processor
DIBOL RSTS UNIBUS
_ _ _ _ _ _ _
| | | | | | | |
|d|i|g|i|t|a|l|
|_|_|_|_|_|_|_|
.EL
.PG
.C
^*Table of Contents\*
.B 2
.R;Page
.B
.LT
Preface v
Intended Audience v
Structure of This Document v
Associated Documents v
Conventions Used in This Document vi
Acknowledgments vi
Summary 1
Format 1
Command Qualifiers 1
Command Parameters 1
Usage 1
Invoking 1
Exiting 1
Directing Output 2
Description 3
Invoking the Directory Tree Duplicator Utility 4
Restrictions 4
Command Qualifiers 6
/ACCUMULATE Command Qualifier 6
Format 6
Description 6
Example 6
/LOG Command Qualifier 8
Format 8
Description 8
Example 8
Examples 9
Backing Up a Hard Disk to a DECnet-DOS Virtual Disk 9
Restoring a Hard Disk from a DECnet-DOS Virtual Disk 10
Constructing the Bootable Diskette Containing DECnet-DOS 10
Restoring the Hard Disk from a Virtual Disk Used as a
Current Copy 12
Restoring the Hard Disk from a Virtual Disk Used as an
Accumulative Copy 13
Duplicating a Diskette 14
Deleting a Directory Tree 15
.EL
.PG
#
.PG
.LO 2,2
.HD ON
.T Directory Tree Duplicator
.ST Preface
.DNM RL
.C
^*Preface\*
.LM +5
.P -5,3,0
^*Intended Audience\*
.B
This manual is intended for all MS-DOS and DECnet-DOS users.
.P -5,3,0
^*Structure of This Document\*
.B
This document has four major sections:
.LS 1,"o"
.LE
The Summary section is an overview of the Directory Tree Duplicator
Utility and is intended as a quick reference guide.
The Format subsection describes the command that invokes the Directory
Tree Duplicator Utility, listing all command qualifiers and
parameters.
The Usage subsection describes how to invoke the Directory Tree
Duplicator Utility, how to redirect output, and any restrictions that
you should be aware of.
.LE
The Description section explains how to use the Directory Tree
Duplicator Utility.
.LE
The Command Qualifier section describes each command qualifier.
Command qualifiers appear in alphabetical order.
.LE
The Examples section contains examples of common operations that you
perform with the Directory Tree Duplicator Utility.
.ELS 0
.P -5,3,0
^*Associated Documents\*
.B
To use the Directory Tree Duplicator Utility, you should also be
familiar with the following manual:
.LS 1,"o"
.LE
^&MS-DOS User's Guide\&, or ^&Disk Operating System\& manual, as
appropriate
.ELS
To use the Directory Tree Duplicator Utility in conjunction with
DECnet-DOS virtual disks, you should also be familiar with the
following manual
.LS 1,"o"
.LE
^&DECnet-DOS User's Guide\&
.ELS 0
.P -5,3,10
^*Conventions Used in This Document\*
.LM -5
.TS 26
.LM +26
.P -21,1,0
Convention Meaning
.P -21,1,0
E_>^*TREEDUPL E:_\ G:_\\* Command examples show all output lines
or prompting characters that the system prints or displays in normal
type. All user-entered commands are shown in ^*bold\* type.
.B
.P -21,1,0
/[NO]LOG Square brackets indicate that the enclosed item is
optional.
.P -21,1,0
_<CTRL/x_> The symbol _<CTRL/x_> indicates that you must press
the key labeled CTRL while you simultaneously press another key, for
example, _<CTRL/C_>.
.LM -26
.LM +5
.P -5,3,0
^*Acknowledgments\*
.B
The TREEDUPL Directory Tree Duplicator Utility uses the public domain
command line parsing package written by Bela Lubkin of Borland
International Inc.
.LM -5
.PG
.NMPG 1
.DNM D
.ST Summary
.C
^*Summary\*
.LM +5
.B 2
The TREEDUPL program copies or duplicates all files and directories in
an entire directory tree.
.P -5,3,0
^*Format\*
.B
TREEDUPL ^&sourceroot\& ^&targetroot\& [^&qualifier\&]
.B
.TS 35
^*Command Qualifiers\* ^*Defaults\*
.B
/[NO]ACCUMULATE /ACCUMULATE
.BR
/[NO]LOG /LOG
.B 2
^*Command Parameters\*
.LM +5
.P -5,1,0
^&sourceroot\&
.B
Specifies the name for the root of the directory tree to be copied or
duplicated.
.P -5,1,3
^&targetroot\&
.B
Specifies the name for the root of the directory tree into which the
tree specified by ^&sourceroot\& is to be copied or duplicated.
.P -10,3,0
^*Usage\*
.P -5,1,0
^*Invoking\*
.B
You invoke the Directory Tree Duplicator Utility with the TREEDUPL
command.
.P -5,1,0
^*Exiting\*
.B
You exit the Directory Tree Duplicator Utility normally by waiting
until processing is complete.
The Directory Tree Duplicator Utility will return control to the
command interpreter when processing is complete.
.B
You can exit the Directory Tree Duplicator Utility abnormally by
typing _<CTRL/C_>, if the /NOLOG command qualifier has not been given
or if the MS-DOS BREAK parameter is ON.
.P -5,1,0
^*Directing Output\*
.B
By default, messages from the Directory Tree Duplicator Utility are
directed to the console device.
Such messages may be directed to another device or a file with the
I/O redirection facilities of the command interpreter.
.LM -10
.PG
.ST Description
.C
^*Description\*
.LM +5
.B
The Directory Tree Duplicator Utility is a command-line oriented
program used to copy all directories and files in an entire directory
tree to another directory, or to force one directory tree to duplicate
another.
.B
Through the use of the Directory Tree Duplicator Utility, you can
maintain a backup copy of your personal computer's hard disk in a
DECnet-DOS virtual disk maintained an another node of a DECnet
network, or duplicate the complete contents of a diskette on another
diskette, or delete an entire directory tree, or move an entire
directory tree from one directory to another.
.P -5,3,0
^*Invoking the Directory Tree Duplicator Utility\*
.B
The Directory Tree Duplicator Utility is invoked with the TREEDUPL
command, followed by the name of the root directory of the source
directory tree (the directory tree to be copied or duplicated),
followed by the name of the root directory of the target directory
tree (the directory tree to be produced).
No wild card characters are allowed in either name.
Command qualifiers may follow any of these components of the command.
For example, the following command copies all directories and files on
the volume in drive A to the volume in drive B:
.P 5,1,0
E_>^*TREEDUPL A:_\ B:_\\*
.B
If a drive letter is specified, the directory is interpreted as
residing on the volume in the specified drive.
Otherwise, the directory is interpreted as residing on the volume in
the current drive.
If the directory name starts with a back slash (_\), the directory
name is interpreted as relative to the root directory of the volume.
Otherwise, the directory name is interpreted as relative to the
current directory on the volume.
.B
If the current directory on the volume in drive E is the root
directory, and the current directory on the volume in drive G is
_\E__SAVE, then the command:
.P 5,1,0
E_>^*TREEDUPL E:#G:\*
.B
will copy all directories and files on the entire volume in drive E
into a directory tree rooted at the directory _\E__SAVE of the volume
in drive G.
.B
Except in the root directory of a volume, a single period (.) in the
place of the first directory name refers to the current directory, and
two periods (..) refers to the parent of the current directory.
In the root directory of a volume, these cannot be used.
A single back slash always refers to the root directory of a volume.
.B
The Directory Tree Duplicator Utility copies all directories and files
from the source directory tree to the target directory tree.
However, the Directory Tree Duplicator Utility will attempt not to
copy files which are apparently already at the appropriate position in
the target directory tree.
For non-directory files, the Directory Tree Duplicator Utility will
not copy a file in the source directory tree (the "source file") if:
.LS 1,"o"
.LE
There is a file of the same name in the corresponding position in the
target directory tree (the "target file");
.LE
The sizes of the source file and the target file are equal;
.LE
The modification dates and times of the source file and the target
file are equal.
.ELS 0
.B
If there is a target file that appears to be the same as the source
file based on these characteristics, then its contents are not
modified, but its file attributes (read-only, system, hidden, and
archive) are set to be the same as those of the source file.
.B
If there is a target file that appears to be different from the source
file based on these characteristics, then the target file is deleted
and the source file is copied to its place.
The file size, file attributes (read only, hidden, system, and
archive), and file modification date and time of the copy are set to
duplicate those of the source file.
.B
For a directory in the source directory tree, the Directory Tree
Duplicator Utility will create a corresponding directory in the target
directory tree unless one already exists.
The file attributes of the new or existing directory are set to be the
same as those of the directory in the source directory tree.
.B
The Directory Tree Duplicator Utility can also delete all files in
the target directory tree that are not in the source directory tree.
The /ACCUMULATE command qualifier controls this behavior.
.B
By default, the Directory Tree Duplicator Utility issues messages
describing its actions.
These messages can be suppressed.
The /LOG command qualifier controls this behavior.
.P -5,3,3
^*Restrictions\*
.B
The Directory Tree Duplicator Utility cannot be used to copy a
source directory tree into a target directory tree whose root is in
the source directory tree itself.
For example, the command:
.P 5,1,0
E_>^*TREEDUPL E:_\SUBDIR1 E:_\SUBDIR1_\SUBDIR2\*
.B
would fail as the _\SUBDIR1_\SUBDIR2 directory is in the directory
tree having _\SUBDIR1 as its root.
.LM -5
.PG
.ST Command Qualifiers
.C
^*/ACCUMULATE Command Qualifier\*
.LM +5
.P -5,3,0
^*Format\*
.B
/ACCUMULATE
.BR
/NOACCUMULATE
.P -5,3,0
^*Description\*
.B
By default, the Directory Tree Duplicator Utility retains all files
and directories in the target directory, unless there is a
corresponding file in the source directory tree that is different from
the file or directory in the target directory.
However, the Directory Tree Duplicator Utility can "prune" the target
directory tree, that is, delete files and directories that do not
appear in the source directory tree.
The /ACCUMULATE command qualifier controls this behavior.
If you specify /NOACCUMULATE, files and directories in the target
directory that do not appear in the source directory are deleted.
If you omit the qualifier or specify /ACCUMULATE, files in the target
directory that do not appear in the source directory are retained.
.B
If you specify /NOACCUMULATE, even files and directories in the target
directory tree with the read-only attribute are deleted if they do not
exist in the source directory tree.
.P -5,3,0
^*Example\*
.B
E_>^*TREEDUPL A:_\ B:_\ /NOACCUMULATE\*
.LT
TREEDUPL version 2.0
Copied A:\AUTOEXEC.BAT to B:\AUTOEXEC.BAT
Copied A:\COMMAND.COM to B:\COMMAND.COM
Copied A:\CONFIG.SYS to B:\CONFIG.SYS
Copied A:\IO.SYS to B:\IO.SYS
Copied A:\MSDOS.SYS to B:\MSDOS.SYS
Deleted B:\TREEDUPL\CLA.PAS
Deleted B:\TREEDUPL\TREEDUPL.COM
Deleted B:\TREEDUPL\TREEDUPL.PAS
Deleted B:\TREEDUPL
E>
.EL
.B
With this command, the directory tree of the volume mounted in drive A
is exactly replicated on the volume mounted in drive B.
Files on the volume in drive A that are not on the volume in drive B
are copied onto the volume in drive B; files on the volume in drive B
that are not on the volume in drive A are deleted.
In the example, the _\TREEDUPL directory of the volume in drive B did
not appear on the volume in drive A, and so the directory's contents
and then the directory itself were deleted.
.LM -5
.PG
.C
^*/LOG Command Qualifier\*
.LM +5
.P -5,3,0
^*Format\*
.B
/LOG
.BR
/NOLOG
.P -5,3,0
^*Description\*
.B
By default, the Directory Tree Duplicator Utility produces messages
describing its actions.
These messages are produced on the standard output, which is normally
directed to the console.
The /LOG command qualifier controls the production of these messages.
If you specify /NOLOG, no messages are produced.
If you omit the qualifier or specify /LOG, messages are produced
whenever a file is copied or deleted, a directory is created or
deleted, and whenever a file's attributes are modified.
.P -5,3,0
^*Example\*
.B
E_>^*TREEDUPL A:_\ B:_\ /NOLOG\*
.BR
TREEDUPL version 2.0
.B
E_>
.B
With this command, messages describing the actions taken by the
Directory Tree Duplicator Utility to copy the files on the volume in
drive A to the volume in drive B are not issued.
.LM -5
.PG
.ST Examples
.C
^*Examples\*
.LM +5
.P -5,3,0
^*Backing Up a Hard Disk to a DECnet-DOS Virtual Disk\*
.B
You can make a backup copy of the data on your hard disk using a
DECnet-DOS virtual disk as the backup medium.
The DECnet-DOS virtual disk will then be backed up to archival storage
(for example, magnetic tape) under the standard backup procedures for
the remote node on which the virtual disk resides.
This form of backup can be unattended, as it is not necessary to
change volumes in a small capacity diskette drive.
.B
You should first decide whether you want to keep a ^¤t\& copy of
the data on your disk, or an ^&accumulative\& copy of the data on your
disk.
A current copy will have only the data on your disk as of the most
recent backup; an accumulative copy will retain old files that you
have deleted on your disk.
However, an accumulative copy will not retain old versions of files
that still exist; only the most recent version of any file will is
retained.
An accumulative copy will require a larger virtual disk than will a
current copy.
Also, an accumulative copy is more difficult to restore from than is a
current copy.
.B
Similarly, if you have several hard disks, you should decide whether
to back these up into a single virtual disk or into several virtual
disks.
Backing up several hard disks into a single virtual disk will require
a larger virtual disk than will backing up each hard disk into
separate virtual disks.
.B
Before backing up your hard disk's data for the first time, you must
create the DECnet-DOS virtual disk.
You do this using the DECnet-DOS NDU (&Network &Device &Utility)
CREATE command.
For example, the command:
.P 5,1,0
E_>^*NDU CREATE DRIVE G NODE EVER11 NDISK HD_BACKUP.DSK MAX 32\*
.B
creates a 32 megabyte virtual disk in the default directory of the
account specified by the default access control string for node
EVER11, and makes that disk available through MS-DOS drive letter G.
.B
After using the NDU CREATE command, to create a new virtual disk, or
the NDU OPEN command, to access an already existing virtual disk, you
can backup your hard disk contents by using the Directory Tree
Duplication Utility to copy the hard disk contents to the virtual
disk.
For example, the commands:
.B
.LM +5
.TP 4
E_>^*TREEDUPL E:_\ G:_\E__BACKUP /NOLOG\*
.BR
TREEDUPL version 2.0
.B
.TP 4
E_>^*TREEDUPL F:_\ G:_\F__BACKUP /NOLOG\*
.BR
TREEDUPL version 2.0
.LM -5
.B
copy all files and directories on the hard disk in drive E into the
directory _\E__BACKUP on the virtual disk currently accessed through
drive letter G, and copies all files and directories on the hard disk
in drive F into the directory _\F__BACKUP on the virtual disk
currently accessed through drive letter G.
Because the /NOACCUMULATE command qualifier is not specified,
accumulative copies of the data on the hard disks in drives E and F
are made.
Similarly, the commands:
.B
.LM +5
.TP 4
E_>^*TREEDUPL/NOACCUMULATE E:_\ G:_\E__BACKUP /NOLOG\*
.BR
TREEDUPL version 2.0
.B
.TP 4
E_>^*TREEDUPL/NOACCUMULATE F:_\ G:_\F__BACKUP /NOLOG\*
.BR
TREEDUPL version 2.0
.LM -5
.B
construct current copies of the data on the hard disks in drives E and
F.
.P -5,3,0
^*Restoring a Hard Disk from a DECnet-DOS Virtual Disk\*
.B
You can restore the contents of a corrupted hard disk from a
DECnet-DOS virtual disk which has been used as an accumulative or a
current copy of the files and directories on your disk.
As the hard disk may be unusable as a system device should this prove
necessary, you will need to have on a diskette a system sufficient to
restore the files and directories on the virtual disk to the hard
disk.
You can then use this diskette based system to restore the contents of
the hard disk from the virtual disk copy.
.LM +5
.P -5,1,0
^*Constructing the Bootable Diskette Containing DECnet-DOS\*
.B
You must first construct a bootable diskette system that permits you
to access DECnet-DOS virtual disks.
First, format a system diskette; for example, the command:
.P 5,1,0
E_>^*FORMAT A:/S\*
.B
will construct a bootable diskette containing only the MS-DOS system
on the diskette in drive A.
Then, ensure that the necessary DECnet-DOS files are on the diskette.
You may either install DECnet-DOS onto the diskette, or copy the
DECnet-DOS files from your hard disk onto the diskette.
In either case, the only purpose of this DECnet-DOS installation is to
access a virtual disk on a single remote node, so most DECnet-DOS
utilities need not be included.
For example, a bootable system diskette for a Rainbow 100A system to
be used with a serial communications line that is dynamically switched
to DDCMP protocol might contain the visible files:
.LM +5
.B
.TP 3
.LT
COMMAND.COM The MS-DOS command interpreter
NDDRV.SYS Network disk driver
FIX100A.COM Rainbow 100A interrupt structure fixup
SCH.EXE DECnet-DOS scheduler
DNP.EXE DECnet-DOS DECnet process
NCP.EXE Network Control Program
NCP.TXT Initialization commands for NCP
NDU.EXE Network Device Utility
CONFIG.SYS MS-DOS boot configuration commands
AUTOEXEC.BAT Startup commands
KERMIT.EXE Terminal emulation program
DECNET Empty subdirectory
TREEDUPL.COM The Directory Tree Duplicator Utility
.EL
.LM -5
.B
The contents of CONFIG.SYS might be:
.LM +5
.B
.TP 3
.LT
DEVICE=NDDRV.SYS
FILES=20
BUFFERS=32
.EL
.LM -5
.B
while the contents of AUTOEXEC.BAT might be:
.LM +5
.B
.TP 4
.LT
PATH A:\
FIX100A
SCH
DNP A:\DECNET\
.EL
.LM -5
.B
Complete installation of DECnet-DOS by booting this diskette,
invoking NCP to accept the commands in NCP.TXT, and defining the
transmit and receive passwords, if any, and defining the adjacent node
and the remote node on which the virtual disk resides.
.B
You should test this diskette by rebooting from it to install the now
initialized DECnet network, and bring up the DECnet line in the normal
fashion.
Then use the NDU OPEN command to attempt to access the virtual disk
you are using as a backup of your hard disk.
When you can access the files on the virtual disk using only the
system on the diskette, you have created the bootable diskette
containing DECnet-DOS that can be used to restore the hard disk should
it become corrupt.
.LM -5
.B
.TP 4
^*Restoring the Hard Disk from a Virtual Disk Used as a Current Copy\*
.LM +5
.B
To restore the contents of the hard disk from a virtual disk, you must
first ensure that the hard disk is in a state acceptable to MS-DOS.
This may require that you format the disk, and, if the hard disk is to
be bootable, install the MS-DOS system.
.B
When the hard disk has been prepared, you must boot the diskette
containing DECnet-DOS, bring up the DECnet line in the normal fashion,
and use the NDU utility to make accessible the virtual disk containing
the current copy of the hard disk's contents.
.B
If files or directories have been stored onto the hard disk which are
not to be destroyed (for example, the MS-DOS operating system), you
must now use the standard MS-DOS COPY and MKDIR commands, or the
Directory Tree Duplicator Utility, to ensure that these files and
directories are reflected in the virtual disk.
For example, the command:
.LM +5
.B
.TP 4
A_>^*TREEDUPL E:_\ I:_\ /NOLOG\*
.BR
TREEDUPL version 2.0
.LM -5
.B
would ensure that restoring the files and directories on the virtual
disk accessible through drive letter I to the hard disk in drive E
would not overwrite the files and directories currently on the hard
disk in drive E.
.B
Now, you can copy the files and directories on the virtual disk to the
hard disk using the Directory Tree Duplicator Utility.
For example, the command:
.LM +5
.B
.TP 4
A_>^*TREEDUPL I:_\ E:_\ /NOLOG\*
.BR
TREEDUPL version 2.0
.LM -5
.B
would copy all files on the virtual disk accessible through drive
letter I to the hard disk in drive E.
.B
At this point, the files and directories have been restored.
You can now boot the computer in your usual fashion and proceed with
the newly restored hard disk.
.LM -5
.B
.TP 4
^*Restoring the Hard Disk from a Virtual Disk Used as an Accumulative
Copy\*
.LM +5
.B
To restore the contents of the hard disk from a virtual disk, you must
first ensure that the hard disk is in a state acceptable to MS-DOS.
This may require that you format the disk, and, if the hard disk is to
be bootable, install the MS-DOS system.
.B
When the hard disk has been prepared, you must boot the bootable
diskette containing DECnet-DOS, bring up the DECnet line in the
normal fashion, and use the NDU utility to make accessible the virtual
disk containing the accumulative copy of the hard disk's contents.
.B
If files or directories have been stored onto the hard disk which are
not to be destroyed (for example, the MS-DOS operating system), you
must now use the standard MS-DOS COPY and MKDIR commands, or the
Directory Tree Duplicator Utility, to ensure that these files and
directories are reflected in the virtual disk.
For example, the command:
.LM +5
.B
.TP 4
A_>^*TREEDUPL E:_\ I:_\ /NOLOG\*
.BR
TREEDUPL version 2.0
.LM -5
.B
would ensure that restoring the files and directories on the virtual
disk accessible through drive letter I to the hard disk in drive E
would not overwrite the files and directories currently on the hard
disk in drive E.
.B
If the files and directories on the virtual disk will fit onto the
hard disk, the simplest procedure is to restore the entire contents of
the virtual disk to the hard disk and then to individually delete
files and directory trees that are not needed.
For example, the command:
.LM +5
.B
.TP 4
A_>^*TREEDUPL I:_\ E:_\ /NOLOG\*
.BR
TREEDUPL version 2.0
.LM -5
.B
would copy all files on the virtual disk accessible through drive
letter I to the hard disk in drive E.
The unwanted
files and directories could then be deleted with the
standard MS-DOS DEL and RMDIR commands, and entire unwanted
directory trees could then be deleted with the Directory
Tree Duplicator Utility.
.B
If the files and directories on the virtual disk will not fit onto the
hard disk, then copying all files and directories on the virtual disk
to the hard disk is not possible.
You must manually direct a process in which only some of the files and
directories on the virtual disk are copied onto the hard disk.
.B
The first method of copying only some files and directories on the
virtual disk onto the hard disk is to copy individual files and
directory trees from the virtual disk to the hard disk using the
standard MS-DOS MKDIR and COPY commands, and the Directory Tree
Duplicator Utility.
.B
The second method of copying only some files and directories on the
virtual disk onto the hard disk is to delete individual files and
directory trees from the virtual disk, using the standard MS-DOS DEL
and RMDIR commands, and the Directory Tree Duplicator Utility, and
then copy all remaining files and directories on the virtual disk to
the hard disk.
Since this process destroys some of the contents of the virtual disk,
you may want to use the DECnet network remote node's file copy command
to create a temporary duplicate of the virtual disk.
This temporary duplicate of the virtual disk can be used as the
virtual disk from which the restoration is to take place: individual
files and directory trees may be deleted freely from the temporary
duplicate, without affecting the contents of the original virtual
disk.
.B
When all files and directories of interest have been restored, you can
boot the computer in your usual fashion and proceed with the newly
restored hard disk.
.LM -5
.P -5,3,0
^*Duplicating a Diskette\*
.B
You can duplicate the contents of a diskette using the Directory Tree
Duplicator Utility.
.B
First, place the diskette to be duplicated into one diskette drive.
Then, place the diskette onto which the duplicate is to be made into
a second diskette drive.
It is advisable to format the second diskette, but this step is often
not necessary.
Then use the TREEDUPL command with the /NOACCUMULATE command qualifier
to duplicate the contents of the first diskette onto the second
diskette.
.B
For example, if the diskette to be duplicated has been placed into
drive A, and the diskette to receive the copy has been placed into
drive B, then the command:
.LM +5
.B
E_>^*TREEDUPL A:_\ B:_\ /NOACCUMULATE /NOLOG\*
.LM -5
.B
will duplicate the contents of the diskette in drive A onto the
diskette in drive B.
.B
It is possible to duplicate the contents of a diskette even if you
have only one diskette drive, as long as you have a hard disk or
DECnet-DOS virtual disk with enough free space.
First, duplicate the diskette into a newly created directory on the
hard disk or DECnet-DOS virtual disk; then duplicate the directory on
the hard disk or DECnet-DOS virtual disk.
.B
For example, the commands:
.B
.LM +5
E_>^*MKDIR E:_\DISKCOPY\*
.B
E_>^*TREEDUPL A:_\ E:_\DISKCOPY/NOLOG\*
.BR
TREEDUPL version 2.0
.LM -5
.B
create a directory on the disk in drive E, and then copy the contents
of the diskette in drive A into that directory. The subsequent
command:
.B
.LM +5
E_>^*TREEDUPL/NOACCUMULATE/NOLOG E:_\DISKCOPY A:_\\*
.BR
TREEDUPL version 2.0
.LM -5
.B
will copy the directories and files onto the diskette in drive A.
.P -5,3,0
^*Deleting a Directory Tree\*
.B
You can delete an entire directory tree, even if it contains
read-only, hidden, or system files, using the Directory Tree
Duplicator Utility.
.B
You first create an empty directory, then copy it to the root of the
directory tree to be deleted using the /NOACCUMULATE command
qualifier, then remove both the empty directory you created and the
now-empty directory.
For example, to remove the directory tree rooted at _\WORK_\QRTR1, you
could issue the commands:
.LM +5
.B
E_>^*MKDIR _\EMPTY\*
.B
E_>^*TREEDUPL/NOLOG/NOACCUMULATE _\EMPTY _\WORK_\QRTR1\*
.BR
TREEDUPL version 2.0
.B
E_>^*RMDIR _\EMPTY\*
.B
E_>^*RMDIR _\WORK_\QRTR1\*
.LM -5
.B
You must use the /NOACCUMULATE command qualifier, to delete the
directories and files in the directory tree rooted at _\WORK_\QRTR1;
you may optionally use the /NOLOG command qualifier to suppress the
printing of messages naming the files as they are deleted.
.LM -5